<?php

namespace App\Models;

class Area extends Model
{
    protected $fillable = ['name', 'ordernum'];

    public function companies()
    {
        return $this->hasMany(Company::class, 'area_id');
    }

}
